#pragma once

#include "Singleton.h"
#include "MsgRouter.h"
#include "Host.h"
#include "active_event.h"



class Context
{
public:
    static Context& Instance()
	{
		return *CSingleton<Context>::Instance();
	}
public:
    MsgRouter msg_router;
    CHost* host;
	std::unique_ptr<CActiveEvent> timer_event_activator;
};

#define Ctx Context::Instance()

















